#ifndef MAINFRAME_H
#define MAINFRAME_H
#include "wxcrafter.h"
#include <wx/treectrl.h>

class MainFrame : public MainFrameBaseClass
{
public:
	MainFrame(wxWindow* parent);
	virtual ~MainFrame();
	
	void OnExit(wxCommandEvent& event);
	void OnAbout(wxCommandEvent& event);
	void OnOpenRaw(wxCommandEvent& event);
private:
	void clearAllJsons();
	void reloadAllJsons();
	void saveAllJsons();
	void scanRawDirectory(const wxTreeItemId&, wxString);
};
#endif // MAINFRAME_H
